package com.xlink.service;

import com.xlink.dto.Sensor;
import org.moon.base.service.BaseService;

import java.util.List;
import java.util.Map;

/**
 * Created by asus1 on 2015/12/22.
 */
public interface SensorService extends BaseService {  //* 创建服务类接口,继承`BaseService`
    List<Map<String,Object>> list(Map<String,Object> params);
    Map<String,Object> get(Long sensorId);
    Long add(Sensor sensor);
    boolean update(Map<String, Object> params);
    boolean delete(Long sensorId);
}
